package lab02.Test26;

import com.sun.org.apache.xpath.internal.SourceTree;

/**
 * Created by 卡01 on 2017/11/2.
 */
public class ExceptionTest {
    public static void main(String[] args) {
try {
    // 可能出错的代码
    int a =50/0;

}catch (ArithmeticException e){
    System.out.println("除数为0！！！");
}finally {
    System.out.println("这是最终会执行的代码！！！");
}
    }

}